<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>3D加载glb格式模型</title>

<script src="./Cesium/Cesium.js"></script>


<style>
@import url("./Cesium/Widgets/widgets.css");

html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

#cesiumContainer {
	height: 95%;
}

h1 {
	heigth: 5%;
}
</style>
</head>
<body>
	
	<h1>3D加载glb格式模型</h1>
	<div id="cesiumContainer"></div>
	<script>
	 var viewer = new Cesium.Viewer('cesiumContainer');
     var entity = viewer.entities.add({
         position: Cesium.Cartesian3.fromDegrees(-123.0744619, 44.0503706),
         model: {
             uri: '3Dmodels/test.glb'
         }
     });
     viewer.trackedEntity = entity;
	
	</script>


</body>
</html>